package com.goldfish666.remote_control.dto.common;

import com.goldfish666.remote_control.entity.common.ByteValue;
import com.tuyang.beanutils.annotation.BeanCopySource;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@BeanCopySource(source = ByteValue.class)
public class ByteValueDTO implements Serializable {

    protected String id;

    private int position;

    private byte value;
}
